#ifndef _RESOURCEMANAGER_H_
#define _RESOURCEMANAGER_H_
#include "FrameWork.h"
#define IMAGAE_PATH "Resource\\Image\\"
enum EResource
{
	Mario_Big_ID,
	Mario_Small_ID,
	Mario_Gun_ID,
	Mushroom_ID,
	Star_ID,
	Brick_ID,
	BrickBreak_ID,
	Fungi_ID,
	Coin_ID,
	Flower_ID,
	Turtle_alive_ID,
	Turtle_die_ID,
	FlowerMonster_ID,
	LAND1_ID,
	LAND2_ID,
	LAND3_ID,
	PIPE_ID,
	PIPE2_ID,
	PIPE3_ID,
	Bar_ID,
	QuestionBox_ID,
	BreakBrickPart_ID,
	Bullet_ID,
	Cloud_ID,
	Grass_ID,
	Fence_ID,
	Moutain_ID,
	Mark_ID,
	Collum_ID,
	Ladder_ID
};

enum EBackGround
{
	MenuBackGround,
	MainGameBG1,
	Black,
	Help
};
class ResourceManager
{
private:
	//Texture
	CTexture *mario_Big;
	CTexture *mario_Small;
	CTexture *mario_Gun;
	CTexture *mushroom;
	CTexture *star;
	CTexture *brick;
	CTexture *fungi;
	CTexture *coin;
	CTexture *flower;
	CTexture *turtle_alive;
	CTexture *turtle_die;
	CTexture *flowerMonster;
	CTexture *land1;
	CTexture *land2;
	CTexture *land3;
	CTexture *pipe;
	CTexture *pipe2;
	CTexture *pipe3;
	CTexture *bar;
	CTexture *questionBox;
	CTexture *breakbrick;
	CTexture *brickPart;
	CTexture *bullet;
	CTexture *cloud;
	CTexture *grass;
	CTexture *fence;
	CTexture *moutain;

	CTexture *mark;
	CTexture *collum;
	CTexture *ladder;
	//BackGround
	CTexture *menuBackground;
	CTexture *mainGameBG1;
	CTexture *blackBG;
	CTexture *helpBG;
	ResourceManager();
	static ResourceManager* _instance;
public:
	~ResourceManager();
	static ResourceManager* GetIns();
	void Init(); //khoi tao tat ca texture va surface
	//Get Texture
	CTexture* GetTexture(EResource id);
	CTexture* GetBackGround(EBackGround id);
};

#endif